using PetShop.BusinessEntities;
using PetShop.DataAccess.DAO;

namespace PetShop.BusinessEntityManagers
{
    public class CategoryBO
    {
        public CategoryInfo GetCategoryById(string categoryID)
        {
            if (string.IsNullOrEmpty(categoryID))
                return null;
            var dal = new CategoryDAO();
            return dal.GetCategoryByID(categoryID);
        }
    }
}